package com.n9.qq.android.firendlist;

import com.qq.taf.jce.JceInputStream;
import com.qq.taf.jce.JceOutputStream;
import com.qq.taf.jce.JceStruct;

/**
 * @author ice
 * @since 2019/2/22 17:15
 */
public class stFavoriteGroup extends JceStruct {
    public long dwGroupCode = 0L;
    public long dwOpenTimestamp = 0L;
    public long dwSnsFlag = 1L;
    public long dwTimestamp = 0L;

    public stFavoriteGroup() {
    }

    public stFavoriteGroup(long var1, long var3, long var5, long var7) {
        this.dwGroupCode = var1;
        this.dwTimestamp = var3;
        this.dwSnsFlag = var5;
        this.dwOpenTimestamp = var7;
    }

    @Override
    public void readFrom(JceInputStream var1) {
        this.dwGroupCode = var1.read(this.dwGroupCode, 0, true);
        this.dwTimestamp = var1.read(this.dwTimestamp, 1, false);
        this.dwSnsFlag = var1.read(this.dwSnsFlag, 2, false);
        this.dwOpenTimestamp = var1.read(this.dwOpenTimestamp, 3, false);
    }

    @Override
    public void writeTo(JceOutputStream var1) {
        var1.write(this.dwGroupCode, 0);
        var1.write(this.dwTimestamp, 1);
        var1.write(this.dwSnsFlag, 2);
        var1.write(this.dwOpenTimestamp, 3);
    }
}
